/**
 * @filename:Quotation 2021-11-09 01:40:37
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 报价单实体类</P>
 *
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Quotation extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1637894891592L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "")
    private Integer id;
    @ApiModelProperty(name = "quotationName", value = "报价单名称")
    private String quotationName;
    @ApiModelProperty(name = "quotationNo", value = "报价单编号")
    private String quotationNo;
    @ApiModelProperty(name = "customerId", value = "客人ID")
    private Integer customerId;
    @ApiModelProperty(name = "quotationTime", value = "报价时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date quotationTime;
    @ApiModelProperty(name = "currencyCode", value = "币别")
    private String currencyCode;
    @ApiModelProperty(name = "harborFor", value = "FOR港口")
    private String harborFor;
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    @ApiModelProperty(name = "status", value = "状态")
    private String status;

    //---------------------其他表---------------
    @ApiModelProperty(name = "itemIds", value = "产品")
    @TableField(exist = false)
    private List<Integer> itemIds;
    @ApiModelProperty(name = "customerName", value = "客人名称")
    @TableField(exist = false)
    private String customerName;
    @ApiModelProperty(name = "customerName", value = "客人编号")
    @TableField(exist = false)
    private String customerNo;
    @ApiModelProperty(name = "contractName", value = "订单名称")
    @TableField(exist = false)
    private String contractName;
    @ApiModelProperty(name = "contractNo", value = "订单编号")
    @TableField(exist = false)
    private String contractNo;
    @ApiModelProperty(name = "createTimeStart", value = "时间条件参数开始--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;
    @ApiModelProperty(name = "createTimeEnd", value = "时间条件参数结束--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;
    @ApiModelProperty(name = "idBatch", value = "批量主键处理")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private List<Integer> idBatch;
    @ApiModelProperty(name = "quotationTimeStart", value = "时间条件参数开始--报价时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date quotationTimeStart;
    @ApiModelProperty(name = "quotationTimeEnd", value = "时间条件参数结束--报价时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date quotationTimeEnd;
    @ApiModelProperty(name = "paramAsc", value = "升序参数：contractId、createTime、customerId、id、isDelete、quotationName、quotationNo、quotationTime、remark、status、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramAsc;
    @ApiModelProperty(name = "paramDesc", value = "降序参数：contractId、createTime、customerId、id、isDelete、quotationName、quotationNo、quotationTime、remark、status、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramDesc;
}
